﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using log4net;
using System.Reflection;
using WeifenLuo.WinFormsUI.Docking;

namespace WHC.Hotel.UI
{
    public class BaseForm : DockContent
    {
        protected static readonly ILog logger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);

        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BaseForm));
            this.SuspendLayout();
            // 
            // BaseForm
            // 
            this.ClientSize = new System.Drawing.Size(292, 266);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "BaseForm";
            this.ResumeLayout(false);

        }

        protected override void OnLoad(EventArgs e)
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BaseForm));
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));

            this.StartPosition = FormStartPosition.CenterScreen;
            base.OnLoad(e);
        }

        public virtual void RefreshForm()
        {
        }
    }
}
